package model.boundary;
public class Door extends Boundary{
	
	public Door(boolean locked){
		if (locked)
		status="LOCKED";
		else status="CLOSED";
	}
	
	public String getDescription() {
		if(status.equals("CLOSED")||status.equals("LOCKED"))
		return "a door is blocking your path";
		return "this door is open";
	}


	public String getType() {
		return "DOOR";
	}

	@Override
	public String getStatus() {
		return status;
	}
}
